/*
 * OrderBankInfoListItem.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.response.QueryOrderResultResponse;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.OrderInformationBankInfoHolder;

/** 银行转账信息 */
public class OrderInformationBankInfoListItem
        extends
        DisplayListItem<OrderInformationBankInfoHolder, QueryOrderResultResponse.Data.PayDesc> {

    public OrderInformationBankInfoListItem(QueryOrderResultResponse.Data.PayDesc s) {
        super(s);
    }

    @Override
    public void onShow(Context context, OrderInformationBankInfoHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return OrderInformationBankInfoListItem.class.getSimpleName();
    }

    @Override
    public Class<OrderInformationBankInfoHolder> getViewHolderClazz() {
        return OrderInformationBankInfoHolder.class;
    }
}
